<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::Surface Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_surface.html">Surface</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_surface-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::Surface Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_surface_8hpp_source.html">Surface.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa6035b9d17cf8a375cf518901052a9e9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#aa6035b9d17cf8a375cf518901052a9e9">Surface</a> (<a class="el" href="namespace_slic3r.html#abe9699b26eb18f6636b045c930d167d8">SurfaceType</a> _surface_type, const <a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;_expolygon)</td></tr>
<tr class="separator:aa6035b9d17cf8a375cf518901052a9e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b1a5bcdee1db3c87b2f5d507ff18da3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a0b1a5bcdee1db3c87b2f5d507ff18da3">operator Polygons</a> () const</td></tr>
<tr class="separator:a0b1a5bcdee1db3c87b2f5d507ff18da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82e06afa114f5d0ecc72827a2ed6cc62"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a82e06afa114f5d0ecc72827a2ed6cc62">area</a> () const</td></tr>
<tr class="separator:a82e06afa114f5d0ecc72827a2ed6cc62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38efc34cc8421e6059d556089c62e606"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a38efc34cc8421e6059d556089c62e606">is_solid</a> () const</td></tr>
<tr class="separator:a38efc34cc8421e6059d556089c62e606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fa6cd63ba516167d4853abc330f8482"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a7fa6cd63ba516167d4853abc330f8482">is_external</a> () const</td></tr>
<tr class="separator:a7fa6cd63ba516167d4853abc330f8482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3eef69841a13a1da6f90b0e24753e27"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#aa3eef69841a13a1da6f90b0e24753e27">is_internal</a> () const</td></tr>
<tr class="separator:aa3eef69841a13a1da6f90b0e24753e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59f23864153e397680a77843af60db37"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a59f23864153e397680a77843af60db37">is_bottom</a> () const</td></tr>
<tr class="separator:a59f23864153e397680a77843af60db37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53188bd4cc36dd6c64f22a208bbf2bb2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a53188bd4cc36dd6c64f22a208bbf2bb2">is_bridge</a> () const</td></tr>
<tr class="separator:a53188bd4cc36dd6c64f22a208bbf2bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a33b43f3aa62e3ef32b0100ea289532fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#abe9699b26eb18f6636b045c930d167d8">SurfaceType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a33b43f3aa62e3ef32b0100ea289532fd">surface_type</a></td></tr>
<tr class="separator:a33b43f3aa62e3ef32b0100ea289532fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab98ce319a0960df1324252d0d9240463"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#ab98ce319a0960df1324252d0d9240463">expolygon</a></td></tr>
<tr class="separator:ab98ce319a0960df1324252d0d9240463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad074c9bedd8dbe04178c1f8c2f750c37"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#ad074c9bedd8dbe04178c1f8c2f750c37">thickness</a></td></tr>
<tr class="separator:ad074c9bedd8dbe04178c1f8c2f750c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c5bda1feccd103ba8bfdd89818fc1c2"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a5c5bda1feccd103ba8bfdd89818fc1c2">thickness_layers</a></td></tr>
<tr class="separator:a5c5bda1feccd103ba8bfdd89818fc1c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7cb31ff126b05381ed24037410de25"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#aaa7cb31ff126b05381ed24037410de25">bridge_angle</a></td></tr>
<tr class="separator:aaa7cb31ff126b05381ed24037410de25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb62a4d35aa78e6bff3ae80abd3ecca"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_surface.html#a8fb62a4d35aa78e6bff3ae80abd3ecca">extra_perimeters</a></td></tr>
<tr class="separator:a8fb62a4d35aa78e6bff3ae80abd3ecca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa6035b9d17cf8a375cf518901052a9e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6035b9d17cf8a375cf518901052a9e9">&#9670;&nbsp;</a></span>Surface()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Surface::Surface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#abe9699b26eb18f6636b045c930d167d8">SurfaceType</a>&#160;</td>
          <td class="paramname"><em>_surface_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;&#160;</td>
          <td class="paramname"><em>_expolygon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a82e06afa114f5d0ecc72827a2ed6cc62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82e06afa114f5d0ecc72827a2ed6cc62">&#9670;&nbsp;</a></span>area()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Surface::area </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a59f23864153e397680a77843af60db37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59f23864153e397680a77843af60db37">&#9670;&nbsp;</a></span>is_bottom()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Surface::is_bottom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a53188bd4cc36dd6c64f22a208bbf2bb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53188bd4cc36dd6c64f22a208bbf2bb2">&#9670;&nbsp;</a></span>is_bridge()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Surface::is_bridge </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7fa6cd63ba516167d4853abc330f8482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fa6cd63ba516167d4853abc330f8482">&#9670;&nbsp;</a></span>is_external()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Surface::is_external </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa3eef69841a13a1da6f90b0e24753e27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3eef69841a13a1da6f90b0e24753e27">&#9670;&nbsp;</a></span>is_internal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Surface::is_internal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a38efc34cc8421e6059d556089c62e606"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38efc34cc8421e6059d556089c62e606">&#9670;&nbsp;</a></span>is_solid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Surface::is_solid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0b1a5bcdee1db3c87b2f5d507ff18da3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b1a5bcdee1db3c87b2f5d507ff18da3">&#9670;&nbsp;</a></span>operator Polygons()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Surface::operator <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aaa7cb31ff126b05381ed24037410de25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa7cb31ff126b05381ed24037410de25">&#9670;&nbsp;</a></span>bridge_angle</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Surface::bridge_angle</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab98ce319a0960df1324252d0d9240463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab98ce319a0960df1324252d0d9240463">&#9670;&nbsp;</a></span>expolygon</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> Slic3r::Surface::expolygon</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8fb62a4d35aa78e6bff3ae80abd3ecca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fb62a4d35aa78e6bff3ae80abd3ecca">&#9670;&nbsp;</a></span>extra_perimeters</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short Slic3r::Surface::extra_perimeters</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a33b43f3aa62e3ef32b0100ea289532fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33b43f3aa62e3ef32b0100ea289532fd">&#9670;&nbsp;</a></span>surface_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#abe9699b26eb18f6636b045c930d167d8">SurfaceType</a> Slic3r::Surface::surface_type</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad074c9bedd8dbe04178c1f8c2f750c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad074c9bedd8dbe04178c1f8c2f750c37">&#9670;&nbsp;</a></span>thickness</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Surface::thickness</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5c5bda1feccd103ba8bfdd89818fc1c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c5bda1feccd103ba8bfdd89818fc1c2">&#9670;&nbsp;</a></span>thickness_layers</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short Slic3r::Surface::thickness_layers</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_surface_8hpp_source.html">Surface.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_surface_8cpp.html">Surface.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
